<fieldset><legend>小组列表</legend>
{$mygroup}

<form action="" method="POST">
	名字：
	<input type="text" name="usernames" id="usernames" value="{$usernames}" >
	<input type="button" onclick="this.form.page.value=1;this.form.submit();" value="搜索" class="log2" align="right">

	<br><span id="nouser" style="color:red">{$nouserhint}</span>
	<br>
	<div id="searchresult">
		<table  cellpadding="1" border="0" width="100%">
			{section name=nr loop=$userlist}
			<tr >	
				<td style="border-bottom:1px solid #ccc;"><a style="text-decoration:none" href = "group.php?grp_id={$userlist[nr].group_id}">{$userlist[nr].group_name}</a></td>
				<td style="border-bottom:1px solid #ccc;">创建人 <a style="text-decoration:none" href = "user.php?uid={$userlist[nr].user_id}" target="_blank">{$userlist[nr].user_names}</a></td>
				<td style="border-bottom:1px solid #ccc;">{$userlist[nr].group_users}个成员</td>
			</tr>
			{/section}
		</table>

		<input type="hidden" id="cur_page" name="cur_page" value={$cur_page} />
		<input type="hidden" id="page" name="page" value={$cur_page} />
{php} 
Global $db, $main_smarty, $rows, $offset;
$top_users_size = 8;
submit_user_do_pages($rows, $top_users_size, ''); 
{/php}
</div><!--this </div>is for the <div> from submit_user_do_pages()-->
</div>
</form>
</fieldset>
